package cn.hznc.repository;

import cn.hznc.domain.entity.MachineToolProgramEntity;
import cn.hznc.domain.entity.ProcessCraftEntity;
import cn.hznc.domain.entity.ProductionEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author：Administrator
 * @Date：2023/6/9 17:34
 */
public interface ProcessRepository{

    String selectCodeByFigureNo(@Param("materialNo") String materialNo);

    ProductionEntity selectProductionByProcessCode(@Param("code") String code);

    List<String> selectFigureNoByCode(@Param("code") String code);

    List<Integer> qryConnectProgram(String code);

    List<ProcessCraftEntity> selectByProcessNum(@Param("processNum") String programNum);

    String qryProcessCode(@Param("processNum") String processNum,@Param("seq") Integer seq);

    List<MachineToolProgramEntity> selectProgramByPartno(@Param("taskId") String taskId);
}
